![]() To disable entering dates manually, set manualInput to false and to restrict selectable dates with the minDate and maxDate options. If you need to use the time picker as standalone, use the timeOnly property. ![]() TimePicker is enabled with showTime property and 24 (default) or 12 hour mode is configured using hourFormat option. Note that standalone property overrides the value in locale settings.įollowing options can be a part of the format. Third alternative is the range mode that allows selecting a range based on an array of two values where first value is the start date and second value is the end date.ĭefault date format is mm/dd/yy, to customize this use dateFormat property or define it at PrimeVue Locale globally. In this case calendar updates the value with an array of dates where optionally number of selectable dates can be restricted with maxDateCount property. Two-way value binding is defined using the standard v-model directive referencing to a Date property.Ĭalendar is displayed in a popup by default and inline property needs to be enabled for inline mode.īy default calendar allows selecting one date only whereas multiple dates can be selected by setting selectionMode to multiple. Was this feature something that was intentionally not included in fd? I wonder whether that decision would be worth re-visiting.Import Calendar from 'primevue/calendar' I find with flexdash that I almost always need to follow the node with a Change node to set the topic. I use MQTT to interface between the dashboard and the IO/logic flows so the output of dashboard nodes almost always goes direct to an MQTT node. One thing I really miss from the standard dashboard nodes is the ability to specify the topic in nodes that have an output. In fact it seems to send it only every second time it is clicked. So if it is currently off it should send the on message each time it is clicked. If the output is fed into a debug node, with no feedback back to the input, then I believe that when clicked it should send a message with the new state each time it is clicked. I think there may still be a small bug in the flexdash toggle. It's something I've always struggled with the std dashboard and I decided to try something elseįor the record, that behaviour (which I think is the optimum one) can be achieved in the standard dashboard Switch node by not selecting Pass Message Through, and selecting Switch Icon shows state of Input. You need to feed it the new value in explicitly. When you click it it outputs a message but doesn't change on its own. Personally - if possible of course - I would let the user choose on the config screen how he wants the switch to behave. Therefore my CSS hero introduced that visual ripple effect, to show at least that the dashboard has processed your click event. Such unresponsive behaviour is quite confusing for users. via mqtt) and all the way back to the dashboard, it might take some time before you see the switch visually changing. However due to the roundtrip to the Node-RED server, then to the machine (e.g. But then somebody asked us that he wanted to do it like you do: that the switch is not visually switched, until the machine is really switched on. At the beginnen we had implemented it indeed like the standard switch: i.e. You can see that for the node-red-contrib-ui-multistate-switct node, that we allow the user to choose which behaviour he wants. I can completely understand your design decision. You need to feed it the new value in explicitly ![]() OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE.fellinga/node-red-contrib-ui-time-scheduler/blob/51acce56cc0c93ccb8eec7c1110e4a5b376dc9a7/time-scheduler.html#元1 This is how I access it in my Dashboard nodes: fellinga/node-red-contrib-ui-time-scheduler/blob/51acce56cc0c93ccb8eec7c1110e4a5b376dc9a7/time-scheduler.js#L273 It actually even shortens the amount of text sometimes.įlexdash should be able to access the RED object at anytime, right? Calling the RED underscore function should be all that needs to be done. That's what I thought too in my first i18n projects, but it's really not that bad. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |