Comments (8)
Maybe the default should be adjusted too
Or the size / appearance of the 'x' should be adjusted.
In general one feature of jsonConfig is that UI is displayed somehow constistent over mutliple adapters. Too much variants will eventually disturb this goal and result in questins "Clear button missing".
I confirm, that the X is not optimal at black design. But I think we should check what style guide we want.
(In addtion I wonder why the numeric fields seem to be text fields ...)
from iobroker.admin.
(In addtion I wonder why the numeric fields seem to be text fields ...)
These fields are hex numbers not decimal and can contain letters as well.
from iobroker.admin.
you can use noClearButton
as true to hide the clear button from 6.17.13
from iobroker.admin.
you can use
noClearButton
as true to hide the clear button from 6.17.13
Thanks a lot. I will finally test when 6.17.13 is released.
With version 12 it is already working (adapter config dialog) but with warnings about invalid jsonConfig within log.
from iobroker.admin.
Even with 6.17.13 the warning message within log exists:
ems-esp has an invalid jsonConfig: [{"instancePath":"/items/tab-ems-esp/items/ems_modulation","schemaPath":"#/additionalProperties","keyword":"additionalProperties","params":{"additionalProperty":"noClearButton"},"message":"must NOT have additional properties"},{"instancePath":"/items/tab-ems-esp/items/ems_modulation","schemaPath":"#/patternProperties/%5E.%2B/allOf/21/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"},{"instancePath":"/items/tab-ems-esp","schemaPath":"#/properties/items/patternProperties/%5E.%2B/allOf/8/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"}]
from iobroker.admin.
And I would recommend to set noClearButton as default without adding this attribute explicitly.
(Layout is fine now, but the warning should disappear)
from iobroker.admin.
Even with 6.17.13 the warning message within log exists:
ems-esp has an invalid jsonConfig: [{"instancePath":"/items/tab-ems-esp/items/ems_modulation","schemaPath":"#/additionalProperties","keyword":"additionalProperties","params":{"additionalProperty":"noClearButton"},"message":"must NOT have additional properties"},{"instancePath":"/items/tab-ems-esp/items/ems_modulation","schemaPath":"#/patternProperties/%5E.%2B/allOf/21/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"},{"instancePath":"/items/tab-ems-esp","schemaPath":"#/properties/items/patternProperties/%5E.%2B/allOf/8/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"}]
The new attribute seems to be missing from schema used for checking.
Please open a Issue here:
https://github.com/ioBroker/adapter-react-v5/issues/new?assignees=foxriver76&labels=schema+%3Abook%3A&projects=&template=schema.yml&title=%5BjsonConfig%5D%3A+
from iobroker.admin.
from iobroker.admin.
Related Issues (20)
- [bug]: Setting the restart times HOT 2
- [bug]: installation of vis-2 widgets from github doesn't work HOT 12
- [bug]: Icons are broken HOT 2
- [bug]: Think about update stable version to 6.17.14 HOT 3
- [bug]: Loginscreen HOT 5
- [bug]: Admin (7.02) merkt sich nicht mehr die Einstellungen von Farbthema und Log-Level HOT 6
- [bug]: after installing an adapter from GIT, or doing an "upload" for an adapter, all action-icons (buttons) remain greyed-out (inactive) HOT 2
- [bug]: badge for"errors" in protocol view is off HOT 2
- [bug]: Anmeldefenster ist defekt unter 7.02 HOT 5
- [bug]: Setting boolean value in GUI, display "broken" HOT 2
- [bug]: nach Update auf 7.0.2 kein alias auswählbar HOT 2
- Problem bei Namensauflsösung HOT 1
- [bug]: error in gui HOT 4
- Darstellungsfehler in mobiler Hochformat-Ansicht HOT 2
- [bug]: update of admin v7.x to newer v7 doesn't show feedback/progress HOT 3
- [bug]: null values in jsonConfig breaks adapter config page HOT 2
- [bug]: Mouse Over Text Turns White in Object Tab HOT 1
- IoBroker Oberfläche->Kategorien [bug]: Error in GUI bei Browser Safari oder Firefox HOT 8
- [enhancement]: Show tooltips/help on mobile devices
- Installation not possible HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iobroker.admin.