forked from MapComplete/MapComplete
Studio(UX): small fixes to studio
This commit is contained in:
parent
cddf319c9e
commit
5f5960e909
6 changed files with 72 additions and 40 deletions
|
|
@ -218,10 +218,10 @@ export interface QuestionableTagRenderingConfigJson extends TagRenderingConfigJs
|
|||
*/
|
||||
freeform?: {
|
||||
/**
|
||||
* question: What is the name of the attribute that should be written to?
|
||||
* This is the OpenStreetMap-key that that value will be written to
|
||||
* ifunset: do not offer a freeform textfield as answer option
|
||||
*
|
||||
* question: What is the name of the key (attribute) that should be filled if an answer is given?
|
||||
* This data will be uploaded to OpenStreetMap
|
||||
* If this key is present in the feature, then 'render' is used to display the value and should contain this.
|
||||
* ifunset: Do not allow a text/value field that a contributor can type into. (Only if no question is defined): always show "render", no matter the values
|
||||
*/
|
||||
key?: string
|
||||
|
||||
|
|
|
|||
|
|
@ -147,9 +147,10 @@ export interface TagRenderingConfigJson {
|
|||
*/
|
||||
freeform?: {
|
||||
/**
|
||||
* What attribute should be filled out
|
||||
* If this key is present in the feature, then 'render' is used to display the value.
|
||||
* If this is undefined, the rendering is _always_ shown
|
||||
* question: What is the name of the key (attribute) that should be filled if an answer is given?
|
||||
* This data will be uploaded to OpenStreetMap
|
||||
* If this key is present in the feature, then 'render' is used to display the value and should contain this.
|
||||
* ifunset: Do not allow a text/value field that a contributor can type into. (Only if no question is defined): always show "render", no matter the values
|
||||
*/
|
||||
key?: string
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue