@magnolia-services/mgnl-field-store
v0.0.1-alpha.11
Published
MagnoliaFieldStore class that maintains a state and allows for subscribers to be notified of changes to the state. Keeps local state from jsField Implmentation in sync with Magnolia Dialog.
Downloads
12
Keywords
Readme
Magnolia JSField Store
MagnoliaFieldStore class that maintains a state and allows for subscribers to be notified of changes to the state. Keeps local state from jsField Implmentation in sync with Magnolia Dialog.
The actual value of the Magnolia Field is stored in value. You can simply update the value by using the
setState({...state, value: "newvalue"})
To learn more about jsField see: https://docs.magnolia-cms.com/ui-framework-javascript/index.html