F0rce / ace

Ace Editor for Vaadin 14 & 23
MIT License
27 stars 13 forks source link

Implement HasValue #45

Open WilliamFreau opened 4 months ago

WilliamFreau commented 4 months ago

Is your feature request related to a problem? Please describe. The editor did not implement HasValue interface and therefore, you can't bind it in Vaadin Binder.

Describe the solution you'd like Implement the HasValue interface in order to bind the component in a binder.

Describe alternatives you've considered The only way I've found to perform this is to extends the AceEditor component and fire event based on the Value change. But this workaround is not easy due to "updateOnBlur mechanism" explained in issue #35

Additional context This is technically a field with String value then you can parse the value to do whatever you want.

Best regards