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

Suffixes and prefixes for input fields #2324

Open
ebruchez opened this issue Jul 21, 2015 · 3 comments
Open

Suffixes and prefixes for input fields #2324

ebruchez opened this issue Jul 21, 2015 · 3 comments

Comments

@ebruchez
Copy link
Collaborator

  • including for non-numeric fields
  • should support i18n
  • idea: fr:prefix-suffix bound to fr|input[prefix], fr|input[suffix]
  • should also work for fr:number (AKA xf|input:xxf-type('xs:decimal'))
  • FB
    • UI to enter static (for now) prefix/suffix
    • handle attribute different from appearance?
  • not sure if XBL engine needs changes
@ebruchez
Copy link
Collaborator Author

Following #2612 we could use <fb:control-details>. This would initially only support static prefixes/suffixes, which would address things like currency symbols and international units. Later we can add the option of entering expressions.

Controls supporting this, ideally:

  • fr:number / fr:currency: already have @prefix / @suffix attributes
  • xf:input: would need new wrapping XBL component

Can we use XInclude to avoid duplicating the content of <fb:control-details>?

@avernet
Copy link
Collaborator

avernet commented Sep 1, 2020

+1 from customer

@ebruchez
Copy link
Collaborator Author

When we do this, also implement support for $foo notation and renaming (see #309).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants