Skip to content

Commit 68e4a64

Browse files
authored
chore: update the Migration 2.0 guide with the changes from rc2 (#8800)
1 parent a2bcaa6 commit 68e4a64

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

docs/Migrating to version 2.0 guide.md

+47
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,19 @@ Now use `selectionMode` and `Single`, `Multiple` instead:
232232
<ui5-list selection-mode="Multiple">
233233
```
234234

235+
### ui5-multi-combobox
236+
237+
| Changed item | Old | New |
238+
|------------------------------|------------|---------------|
239+
| Property | `allowCustomValues` | `noValidation` |
240+
241+
- The `allowCustomValues` property has been renamed to `noValidation`.
242+
If you have previously used the `allowCustomValues` property
243+
`<ui5-multi-combobox allow-custom-values></ui5-multi-combobox>`
244+
Now use noValidation instead:
245+
`<ui5-multi-combobox no-validation></ui5-multi-combobox>`
246+
247+
235248
### ui5-option
236249

237250
| Changed item | Old | New |
@@ -367,6 +380,13 @@ Now use:
367380
someTabSeparator.getDomRefInStrip();
368381
```
369382

383+
### ui5-textarea
384+
385+
| Changed item | Old | New |
386+
|--------------|-----------|---------------------------------------------------------------------|
387+
| Property | `growingMaxLines` | `growingMaxRows` |
388+
389+
- The `growingMaxLines` property has been renamed to `growingMaxRows`.
370390

371391
### ui5-tree
372392

@@ -400,6 +420,33 @@ Now, import the `ui5-bar` from `main`:
400420
import "@ui5/webcomponents/dist/Bar.js";
401421
```
402422

423+
### ui5-barcode-scanner-dialog
424+
425+
| Changed item | Old | New |
426+
|---------------|-----------|-----------------|
427+
| Public method | `show()` | `open` property |
428+
| Public method | `close()` | `open` property |
429+
430+
- The `show` and `close` public methods have been removed. Use the public property `open` instead.
431+
432+
For example, if you used:
433+
434+
```js
435+
d.show();
436+
...
437+
d.close();
438+
```
439+
440+
use:
441+
442+
```js
443+
d.open = true;
444+
...
445+
d.open = false;
446+
```
447+
448+
instead.
449+
403450
### ui5-illustrated-message
404451

405452
| Changed item | Old | New |

0 commit comments

Comments
 (0)