Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ready] [medium] Fix various issues with listelements and fabrikmodalrepeat form fields. #1960

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Sophist-UK
Copy link

@Sophist-UK Sophist-UK commented Feb 8, 2018

Intelligent insert into text field when mode=gui...

... e,g, in databasejoin element advanced tab for inserting description fields.

  1. Position caret at end when initialising
  2. Add whitespace as needed around value to avoid concatenation with existing strings.

This is not a complete fix as e.g. if user positions caret in the middle of an element name, then inserting a new element name will split the
existing one. This should probably be an HTML list field rather than a text field, but this is still better than existing.

fabrikmodalrepeat not putting table back in same place as it came from

See #1961. Fixed in the PR.

listelements not handling ajax after fabrikmodalrepeat opened and closed.

See #1961 - causes not yet definitively identified and fix not included in this PR.

@Sophist-UK Sophist-UK changed the title Intelligent insert into text field when mode=gui... [minor] Intelligent insert into text field when mode=gui... Feb 8, 2018
@Sophist-UK Sophist-UK changed the title [minor] Intelligent insert into text field when mode=gui... [medium] Intelligent insert into text field when mode=gui... Feb 8, 2018
@Sophist-UK Sophist-UK changed the title [medium] Intelligent insert into text field when mode=gui... [medium] Fix various issues with listelements and fabrikmodalrepeat form fields. Feb 8, 2018
@Sophist-UK Sophist-UK force-pushed the listfields_intelligent_insert_mode-gui branch from 76ca73e to 5794c7f Compare February 9, 2018 17:59
... e,g, in databasejoin element advanced tab for inserting description
fields.

1. Position caret at end when initialising
2. Add whitespace as needed around value to avoid concatenation with
existing strings.

This is not a complete fix as e.g. if user positions caret in the middle
of an element name, then inserting a new element name will split the
existing one. This should probably be an HTML list field rather than a
text field, but this is still better than existing.
... so that we can put the table back in the same place it came from
when the fabrikmodalrepeat is closed.
@Sophist-UK Sophist-UK force-pushed the listfields_intelligent_insert_mode-gui branch from 5794c7f to 263efed Compare February 9, 2018 18:00
@Sophist-UK Sophist-UK changed the title [medium] Fix various issues with listelements and fabrikmodalrepeat form fields. [ready] [medium] Fix various issues with listelements and fabrikmodalrepeat form fields. Jun 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant