linkelements explicitly. Instead, call the links by path with link.link_path(). The same function can now also be called directly from the
on-pressattribute in the view XML, optionally passing view variables as arguments. This replaces the need for the
linkattribute on buttons.
return link.some_view()- instead just use
link.some_view(). The link function now throws an exception, that is used for navigation.
ondismissactions on links, you can now define a single
resumefunction per view. If defined, this is called whenever the user returns to the view, both via a dismiss call and via the back button.
enumhas been renamed to
enum_sethas been renamed to
multiple-choice-integer. Additionally, these types now take explicit keys for each option.
single-choice-integer, but takes string keys. This is recommended over
single-choice-integer, but has exactly two boolean options.
multiple-choice-integer, but takes string keys. This is recommended over
datefields now use a
Dayobject instead of
Dateobject to represent the value. The
Dayobject represents only the Gregorian day, with no time or timezone.
label="". This will remove it completely (no whitespace). To still have some whitespace, use
label=" "(a single space in the label).
placeholder="My placeholder". This may be used to create more compact forms, for example: