value
Description
Optional. Controls whether the widget is in the read-only modeUsage
readonly?: boolean;
Parameters
The property values are the following:
true
- the read-only mode is enabledfalse
- (default) the read-only mode is disabled
Examples
Showing widget in readonly mode
import { Tasklist } from '@svar-ui/react-tasklist';
import { value } from './data.js';
export default function App() {
return <Tasklist value={value} readonly={true} />;
}