<mvc:View
	controllerName="sap.m.sample.TableSelectDialog.C"
	xmlns="sap.m"
	xmlns:l="sap.ui.layout"
	xmlns:mvc="sap.ui.core.mvc"
	xmlns:core="sap.ui.core">
	<l:VerticalLayout class="sapUiContentPadding" width="100%">
		<Input
			id="productInput"
			type="Text"
			value="Astro Phone 6"
			placeholder="Enter Product ..."
			showValueHelp="true"
			valueHelpOnly="true"
			valueHelpRequest="handleValueHelp"
			width="15rem"
			class="sapUiSmallMarginBottom"/>
		<Button
			class="sapUiSmallMarginBottom"
			text="Show Table Select Dialog"
			press=".handleTableSelectDialogPress"
			ariaHasPopup="Dialog" />
		<Button
			class="sapUiSmallMarginBottom"
			text="Show Table Select Dialog (Multi)"
			press=".handleTableSelectDialogPress"
			ariaHasPopup="Dialog">
			<customData>
				<core:CustomData key="multi" value="true" />
			</customData>
		</Button>
		<Button
			class="sapUiSmallMarginBottom"
			text="Show Table Select Dialog (draggable=true)"
			press=".handleTableSelectDialogPress"
			ariaHasPopup="Dialog">
			<customData>
				<core:CustomData key="multi" value="true" />
				<core:CustomData key="draggable" value="true" />
			</customData>
		</Button>
		<Button
			text="Show Table Select Dialog (resizable=true)"
			class="sapUiSmallMarginBottom"
			press=".handleTableSelectDialogPress"
			ariaHasPopup="Dialog">
			<customData>
				<core:CustomData key="multi" value="true" />
				<core:CustomData key="resizable" value="true" />
			</customData>
		</Button>
		<Button
			class="sapUiSmallMarginBottom"
			text="Show Table Select Dialog (Remember)"
			press=".handleTableSelectDialogPress"
			ariaHasPopup="Dialog">
			<customData>
				<core:CustomData key="multi" value="true" />
				<core:CustomData key="remember" value="true" />
			</customData>
		</Button>
		<Button
			text="Show Table Select Dialog (Custom confirmation button text)"
			class="sapUiSmallMarginBottom"
			press=".handleTableSelectDialogPress"
			ariaHasPopup="Dialog">
			<customData>
				<core:CustomData key="multi" value="true" />
				<core:CustomData key="confirmButtonText" value="Save" />
			</customData>
		</Button>
		<Button
			text="Show Table Select Dialog with Responsive Padding"
			class="sapUiSmallMarginBottom"
			press=".handleTableSelectDialogPress"
			ariaHasPopup="Dialog">
			<customData>
				<core:CustomData key="resizable" value="true" />
				<core:CustomData key="draggable" value="true" />
				<core:CustomData key="responsivePadding" value="true" />
			</customData>
		</Button>
	</l:VerticalLayout>
</mvc:View>