Releases: akvo/akvo-react-form-editor
Releases · akvo/akvo-react-form-editor
v2.0.2 Purbalingga
What's Changed
- Feature/68 addonafter addonbefore settings by @ifirmawan in #69
Full Changelog: v2.0.1...v2.0.2
v2.0.1 Purbalingga
What's Changed
- Feature/64 add autofield validatation button by @ifirmawan in #65
- Feature/66 add prefilled support by @ifirmawan in #67
Full Changelog: v2.0.0...v2.0.1
v2.0.0 Denpasar
Update from v1.1.8 to v2.0.0
Below is a brief description of key points to consider when updating your ARF Editor from version 1.1.8 to version 2.0.0
Question Group Setting
v1.1.8 | v2.0.0 | Description |
---|---|---|
name |
name |
In the new release, the name parameter has become a unique identifier for question groups, in addition to the question ID. |
- | label |
The label parameter represents the text of the question group. This parameter is used to display the actual question group text to the user. |
Question Setting
v1.1.8 | v2.0.0 | Description |
---|---|---|
name |
name |
In the new release, the name parameter has become a unique identifier for questions, in addition to the question ID. This change allows for easier identification of questions by their names in various scenarios, such as when creating the fnString for autofield questions. By using the name parameter, you can streamline the process and improve clarity when referencing specific questions. |
- | label |
The label parameter represents the text of the question. This parameter is used to display the actual question to the user, providing clear and concise wording for the information being requested. |
- | short_label |
The short_label parameter represents a value that will be used as a replacement for the question text in the Excel export. This allows for a more concise and clear representation of questions in the exported data, ensuring that the labels are easily understandable and appropriately formatted for reporting purposes. |
- | displayOnly |
This feature is useful when you need to display a question and its value during data collection, but do not require the answer value of this displayOnly question to be submitted. By setting a question to displayOnly , you ensure that it is shown to the user without its response being included in the final submission. |
Question Option Setting
v1.1.8 | v2.0.0 | Description |
---|---|---|
code |
value |
The code parameter has been updated to value , which now represents the option's value that will be submitted. |
name |
label |
The name parameter has been updated to label , which represents the option label displayed to the user. |
Question Autofield Setting
v1.1.8 | v2.0.0 | Description |
---|---|---|
fnString |
fnString |
The format of the fnString parameter has been updated. In v1.1.8, we used #question_id as the question identifier. However, in v2.0.0, we now use #question_name# as the identifier, making the fnString more readable. Additionally, we have removed the need to include function () { } or () => { } when defining the fnString , allowing for direct definition of the function body. Furthermore, an autocomplete function has been implemented for defining the fnString . When typing # , the autocomplete will suggest question names, making it easier to select the desired question name from the suggestions. This autocomplete feature is available for question types such as option, multiple_option, number, text, input, and autofield. |
What's Changed
- Feature/57 group question name label by @wayangalihpratama in #58
- Feature/59 modify single n multiple option code n name by @wayangalihpratama in #60
- Feature/61 update autofield question setting by @wayangalihpratama in #62
- Add displayOnly and short_label into question setting
Full Changelog: v1.1.8...v2.0.0
v1.1.8 Bantul
Full Changelog: v1.1.7...v1.1.8
Denpasar v1.1.7
- Fix rule params bug
- Remove use specific object name setting on cascade api setting
- Show question id
Denpasar v1.1.6
- Support
autofield
question setting - Support stats URL param
- Support color picker on options
v1.1.5 Garut
What's Changed
- Feature/44 photograph upload support by @ifirmawan in #45
New Contributors
- @ifirmawan made their first contribution in #45
Full Changelog: v1.1.4...v1.1.5
Semarapura v1.1.4
- Update question state when set default question type, related to #40
Semarapura v1.1.3
- Fix bugs when setting the default question type, related to #40
Semarapura v1.1.2
- Fix bugs related to issue #40